﻿<Window x:Class="Ellanet.Windows.ResultsWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:ed="http://schemas.microsoft.com/expression/2010/drawing"
        mc:Ignorable="d"
        Title="Times Table Test" Height="400" Width="460" WindowStyle="None" WindowState="Normal" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" MouseDown="ResultsWindow_OnMouseDown" Icon="/Resources/Minion-Girl-icon.png" AllowsTransparency="True" Background="Transparent">
    <Grid>
        <Image Source="/Resources/Big-Minion.png" HorizontalAlignment="Right" VerticalAlignment="Bottom"/>
        <ed:Callout AnchorPoint="1.191,0.623" CalloutStyle="RoundedRectangle" Fill="White" HorizontalAlignment="Left" VerticalAlignment="Bottom" FontSize="20" Height="69" Margin="15,0,0,176" Stroke="{StaticResource StandardGradient}" StrokeThickness="3" Width="260" HorizontalContentAlignment="Center" VerticalContentAlignment="Center">
            <ed:Callout.Content>
                <Grid Height="{Binding RelativeSource={RelativeSource AncestorType=ed:Callout}, Path=Height}" Width="{Binding RelativeSource={RelativeSource AncestorType=ed:Callout}, Path=Width}">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="*"/>
                        <RowDefinition Height="5"/>
                        <RowDefinition Height="*"/>
                    </Grid.RowDefinitions>
                    <Button Grid.Row="0" IsCancel="True" VerticalAlignment="Top" HorizontalAlignment="Right" Margin="0,10,10,0" Click="CloseButton_OnClick">
                        <Button.Style>
                            <Style TargetType="Button" BasedOn="{StaticResource NoChromeButton}">
                                <Setter Property="Cursor" Value="Hand"/>
                                <Setter Property="Height" Value="16"/>
                                <Setter Property="Width" Value="16"/>
                            </Style>
                        </Button.Style>
                        <Image>
                            <Image.Style>
                                <Style TargetType="{x:Type Image}">
                                    <Setter Property="Source" Value="/Resources/X_Blue_32x32.png"/>
                                    <Style.Triggers>
                                        <Trigger Property ="IsMouseOver" Value="True">
                                            <Setter Property="Source" Value="/Resources/X_Yellow_32x32.png"/>
                                        </Trigger>
                                    </Style.Triggers>
                                </Style>
                            </Image.Style>
                        </Image>
                    </Button>
                    <TextBlock Grid.Row="0" Text="{Binding Path=CurrentStatistic.Title, NotifyOnTargetUpdated=True}" Foreground="{StaticResource StandardLightControlSolidColorBrush}" Background="Transparent" HorizontalAlignment="Center" VerticalAlignment="Bottom"/>
                    <TextBlock Grid.Row="2" Text="{Binding Path=CurrentStatistic.Details, NotifyOnTargetUpdated=True}" Foreground="{StaticResource StandardDarkControlSolidColorBrush}" Background="Transparent" HorizontalAlignment="Center" VerticalAlignment="Top"/>
                </Grid>
            </ed:Callout.Content>
        </ed:Callout>
        <!--<ed:Callout AnchorPoint="0.176,1.325" CalloutStyle="Cloud" Fill="White" HorizontalAlignment="Left" VerticalAlignment="Bottom" FontSize="20" Height="263" Margin="297,0,0,427" Stroke="{StaticResource StandardGradient}" StrokeThickness="3" Width="374" HorizontalContentAlignment="Center" VerticalContentAlignment="Center">
            <ed:Callout.Content>
                <Image gif:ImageBehavior.AnimatedSource="{Binding Path=MovieGifUrl, NotifyOnTargetUpdated=True}" gif:ImageBehavior.AutoStart="True" gif:ImageBehavior.RepeatBehavior="Forever" Margin="65" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                -->
        <!--<Image gif:ImageBehavior.AnimatedSource="C:\Users\Steve\Desktop\minionmaths\Graphics\Animations\Movie_0-9_02.gif" gif:ImageBehavior.AutoStart="True" gif:ImageBehavior.RepeatBehavior="Forever" Margin="65" HorizontalAlignment="Center" VerticalAlignment="Center"/>-->
        <!--
            </ed:Callout.Content>
        </ed:Callout>-->
        <!--<Button Grid.Column="0" IsCancel="True" Opacity="0.0" Width="1" Height="1" HorizontalAlignment="Right" VerticalAlignment="Bottom" Click="CloseButton_OnClick"/>-->
    </Grid>
</Window>
